﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WA.Core.DomainModel;

namespace WA.Utility.EntityHelpers
{
    public class CompanyHelper
    {
        public static Company GetRandomCompanyInstance()
        {
            Company company = new Company();
            Random rand = new Random();
            company.Address = "Adress:" + DateTime.Now.Day;
            company.City = "RandomCity:" + DateTime.Now.Millisecond;           
            company.Phone = rand.Next(100, 999).ToString() + "-" + rand.Next(100, 999).ToString();
            company.Name = "RandomName:" + rand.Next(100);
            company.IdentificationNumber = "00001111" + rand.Next(1000, 9999).ToString();
            return company;
        }
    }
}
